<?xml version="1.0" encoding="utf-8" ?>
<html xmlns="http://www.xidea.org/taglib/xhtml"
	xmlns:c="http://www.xidea.org/taglib/core">
<head>
<link rel="stylesheet" type="text/css" href="${css}" />
<meta http-equiv="Content-Type" content="text/html;utf-8" />
<title>Constructor Information:${objInfo.name}</title>
</head>
<body>
<c:if test="${objInfo.fileInfo.pkgInfo.name}">
	<h2><a
		onclick="return parent.jsdoc.gen({cmd:'genPackage',args:['${objInfo.fileInfo.pkgInfo.name}']})"
		href="#">${objInfo.fileInfo.pkgInfo.name}</a></h2>
</c:if>
<div><a class="obj-constructor">Object</a></div>
<c:forEach var='c' items="${objInfo.getInheritList()}" varStatus="counter">
	<div class='inheritor' style="margin-left:${(1+counter.index)*34}px;">
	<c:if test="${counter.last}">
		<a class="obj-constructor"> ${c.name}</a>
	</c:if> <c:else>
		<a class="obj-constructor"
			onclick="return parent.jsdoc.gen({cmd:'genObject',args:['${c.name}','${c.fileInfo.pkgInfo.name}']},'${c.name}')"
			href="#"> ${c.name}</a>
	</c:else></div>
</c:forEach>
<h2>类(构造器)信息</h2>
<table border="0" cellpadding="0" width="100%" cellspacing="0"
	class="content">
	<thead>
		<tr>
			<th><span class="obj-constructor"> ${objInfo.getAccess()}
			<a onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${objInfo.fileInfo.name}','${objInfo.fileInfo.pkgInfo.name}']},'${objInfo.name}')"
				href="#">${objInfo.name}</a>( <c:forEach var='param' items="${objInfo.getParams()}" varStatus="counter">
				${counter.index == 0 ? '':', '}
		  <c:if test="${param.type}">&lt;${param.type}&gt;</c:if>
		  ${param.name}
		</c:forEach>)</span></th>
		</tr>
	</thead>

	<tr>
		<td>
		<ul>
			<c:out value="${objInfo.getDescription()}" default="&#160;"
				escapeXml='false' />
		</ul>
		</td>
	</tr>
	<c:if test="${objInfo.getParams().length}">
		<tr>
			<td>
			<h2>参数</h2>
			<ul>
				<c:forEach var="param" items="${objInfo.getParams()}">
					<h3>${param.name}</h3>
					<p>${param.description||''}</p>
				</c:forEach>
			</ul>
			</td>
		</tr>
	</c:if>
</table>
<c:set var="si" value="${objInfo.getStaticInfos()}" />
<c:if test="${si.length>0}">
	<table cellpadding="0" width="100%" cellspacing="0" class="content">
		<thead>
			<tr>
				<th colspan="3">类属性摘要</th>
			</tr>
		</thead>
		<c:forEach var="n" items="${si}">
			<c:set var="memInfo" value="${si['__jsdoc__' + n]}" />
			<c:set var="obj" value="${memInfo.memberInfo}" />
			<tr>
				<td><span
					title="${obj.getAccess()} ${memInfo.attributeType} ${obj.getType()}"
					class="obj-${obj.getType()}"> <c:if
					test="${memInfo.getPlace() == objInfo}">
					<a href="#${obj.name}">${n}</a>
				</c:if> <c:else>
					<a
						onclick="return parent.jsdoc.gen({cmd:'genObject',args:['${memInfo.getPlace().name}','${memInfo.getPlace().fileInfo.pkgInfo.name}']},'${obj.fileInfo.pkgInfo.name}']},'${memInfo.getPlace().name+'.'+n}')"
						href="#">${n}</a>
				</c:else> </span></td>
				<td>${obj.getAccess()||'&#160;'}</td>
				<td>${obj.getShortDescription()}&#160;</td>
			</tr>
		</c:forEach>
	</table>
	<br />
	<br />
</c:if>
<c:set var="ii" value="${objInfo.getInstanceInfos()}" />
<c:if test="${ii.length>0}">
	<table cellpadding="0" width="100%" cellspacing="0" class="content">
		<thead>
			<tr>
				<th colspan="3">实例属性摘要</th>
			</tr>
		</thead>
		<c:forEach var="n" items="${ii}">
			<c:set var="memInfo" value="${ii['__jsdoc__' + n]}" />
			<c:set var="obj" value="${memInfo.memberInfo}" />
			<tr>
				<td><span
					title="${obj.getAccess()} ${memInfo.attributeType} ${obj.getType()}"
					class="obj-${obj.getType()}"><c:if
					test="${memInfo.getPlace() == objInfo}">
					<a href="#${obj.name}">${n}</a>
				</c:if> <c:else>
					<a
						onclick="return parent.jsdoc.gen({cmd:'genObject',args:['${memInfo.getPlace().name}','${memInfo.getPlace().fileInfo.pkgInfo.name}']},'${memInfo.getPlace().name+'.prototype.'+n}')"
						href="#">${n}</a>
				</c:else></span></td>
				<td>${obj.getAccess()||'&#160;'}</td>
				<td>${obj.getShortDescription()}&#160;</td>
			</tr>
		</c:forEach>
	</table>
	<br />
	<br />
</c:if>
<c:set var="si" value="${objInfo.getDeclaredStaticInfos()}" />
<c:if test="${si.length>0}">
	<h2>类属性详细信息</h2>
	<c:forEach var="n" items="${si}">
		<c:set var="memInfo" value="${si['__jsdoc__' + n]}" />
		<c:set var="obj" value="${memInfo.memberInfo}" />
		<a name="${obj.name}"></a>
		<c:choose>
			<c:when test="${obj.getType() == 'function'}">
				<span class="obj-function"> static ${obj.getAccess()}
				&lt;${obj.getReturnInfo().type}&gt; <a
					onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${obj.fileInfo.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
					href="#">${n}</a>( <c:forEach var='par' items="${obj.getParams()}" varStatus="counter">
		  ${counter.index == 0 ? '' : ', '}
		  <c:if test="${par.type}">&lt;${par.type}&gt;</c:if>
		  ${par.name}
		</c:forEach>)</span>
				<ul>
					<c:out value="${obj.getDescription()}" default="&#160;"
						escapeXml='false' />
				</ul>
				<c:if test="${obj.getParams().length}">
					<h2>参数</h2>
					<ul>
						<c:forEach var="param" items="${obj.getParams()}">
							<h3>${param.name}</h3>
							<p>${param.description||''}</p>
						</c:forEach>
					</ul>
				</c:if>
				<c:if test="${obj.getReturnInfo().type != 'void'}">
					<h2>返回</h2>
					<ul>
						<p>${obj.getReturnInfo().description||''}</p>
					</ul>
				</c:if>
			</c:when>
			<c:when test="${obj.getType() == 'constructor'}">
				<span class="obj-constructor"> static ${obj.getAccess()} <a
					onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${obj.fileInfo.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
					href="#">${n}</a>( <c:forEach var='p' items="${obj.getParams()}"
					varStatus="counter">
		  ${counter.index == 0 ? '':', '}
		  <c:if test="${p.type}">
		  &lt;${p.type}&gt;</c:if>
		  ${p.name}
		</c:forEach>)</span>
				<ul>
					<c:out value="${obj.getDescription()}" default="&#160;"
						escapeXml='false' />
				</ul>
				<ul>
					<p>参考：<a class="obj-constructor"
						onclick="return parent.jsdoc.gen({cmd:'genObject',args:['${obj.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
						href="#">${obj.name}</a></p>
				</ul>
			</c:when>
			<c:when test="${obj.getType() == 'object'}">
				<span class="obj-object"> static ${obj.getAccess()} <a
					onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${obj.fileInfo.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
					href="#">${n}</a></span>
				<ul>
					<c:out value="${obj.getDescription()}" default="&#160;"
						escapeXml='false' />
				</ul>
				<c:set var="cons" value="${obj.getConstructorInfo()}" />
				<c:if test="${cons}">
					<ul>
						<p>构造器：<a class="obj-constructor"
							onclick="return parent.jsdoc.gen({cmd:'genObject',args:['${cons.name}','${cons.fileInfo.pkgInfo.name}']},'${cons.name}')"
							href="#">${cons.name}</a></p>
					</ul>
				</c:if>
			</c:when>
			<c:otherwise>
				<span class="obj-${obj.getType()}"> static ${obj.getAccess()}
				<a
					onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${obj.fileInfo.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
					href="#">${n}</a></span>
				<ul>
					<c:out value="${obj.getDescription()}" default="&#160;"
						escapeXml='false' />
				</ul>
			</c:otherwise>
		</c:choose>
		<hr />
	</c:forEach>
	<br />

</c:if>
<c:set var="ii" value="${objInfo.getDeclaredInstanceInfos()}" />
<c:if test="${ii.length>0}">
	<h2>实例属性详细信息</h2>
	<c:forEach var="n" items="${ii}">
		<c:set var="memInfo" value="${ii['__jsdoc__' + n]}" />
		<c:set var="obj" value="${memInfo.memberInfo}" />
		<a name="${obj.name}"></a>
		<c:choose>
			<c:when test="${obj.getType() == 'function'}">
				<span class="obj-function"> ${obj.getAccess()}
				&lt;${obj.getReturnInfo().type}&gt; <a
					onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${obj.fileInfo.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
					href="#">${n}</a>(<c:forEach var='p' items="${obj.getParams()}"
					varStatus="counter">
		  ${counter.index == 0 ? '':', '}
		  <c:if test="${p.type}">
		  &lt;${p.type}&gt;</c:if>
		  ${p.name}
		</c:forEach>)</span>
				<ul>
					<c:out value="${obj.getDescription()}" default="&#160;"
						escapeXml='false' />
				</ul>
				<c:if test="${obj.getParams().length}">
					<h2>参数</h2>
					<ul>
						<c:forEach var="param" items="${obj.getParams()}">
							<h3>${param.name}</h3>
							<p>${param.description||''}</p>
						</c:forEach>
					</ul>
				</c:if>
				<c:if test="${obj.getReturnInfo().type != 'void'}">
					<h2>返回</h2>
					<ul>
						<p><c:out value="${obj.getReturnInfo().description}" default="&#160;"
						escapeXml='false' /></p>
					</ul>
				</c:if>
			</c:when>
			<c:when test="${obj.getType() == 'constructor'}">
				<span class="obj-constructor"> ${obj.getAccess()} <a
					onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${obj.fileInfo.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
					href="#">${n}</a>( <c:forEach var='p' items="${obj.getParams()}"
					varStatus="counter">
		  ${counter.index == 0 ? '':', '}
		  <c:if test="${p.type}">
		  &lt;${p.type}&gt;</c:if>
		  ${p.name}
		</c:forEach>)</span>
				<ul>
					<c:out value="${obj.getDescription()}" default="&#160;"
						escapeXml='false' />
				</ul>
				<ul>
					<p>参考：<a class="obj-constructor"
						onclick="return parent.jsdoc.gen({cmd:'genObject',args:['${obj.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
						href="#">${obj.name}</a></p>
				</ul>
			</c:when>
			<c:when test="${obj.getType() == 'object'}">
				<span class="obj-object"> ${obj.getAccess()} <a
					onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${obj.fileInfo.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
					href="#">${n}</a></span>
				<ul>
					<c:out value="${obj.getDescription()}" default="&#160;"
						escapeXml='false' />
				</ul>
				<c:set var="cons" value="${obj.getConstructorInfo()}" />
				<c:if test="${cons}">
					<ul>
						<p>构造器：<a class="obj-constructor"
							onclick="return parent.jsdoc.gen({cmd:'genObject',args:['${cons.name}','${cons.fileInfo.pkgInfo.name}']},'${cons.name}')"
							href="#">${cons.name}</a></p>
					</ul>
				</c:if>
			</c:when>
			<c:otherwise>
				<span class="obj-${obj.getType()}"> ${obj.getAccess()} &lt;${obj.getType()}&gt; <a
					onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${obj.fileInfo.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
					href="#">${n}</a></span>
				<ul>
					<c:out value="${obj.getDescription()}" default="&#160;"
						escapeXml='false' />
				</ul>
			</c:otherwise>
		</c:choose>
		<hr />
	</c:forEach>
	<br />
</c:if>

</body>
</html>
